import request from '@/utils/request'

// 查询心率变异性历史心率列表
export function listRing_hrv_Info(query) {
  return request({
    url: '/ring/ring_hrv_Info/list',
    method: 'get',
    params: query
  })
}

// 查询心率变异性历史心率详细
export function getRing_hrv_Info(id) {
  return request({
    url: '/ring/ring_hrv_Info/' + id,
    method: 'get'
  })
}

// 新增心率变异性历史心率
export function addRing_hrv_Info(data) {
  return request({
    url: '/ring/ring_hrv_Info',
    method: 'post',
    data: data
  })
}

// 修改心率变异性历史心率
export function updateRing_hrv_Info(data) {
  return request({
    url: '/ring/ring_hrv_Info',
    method: 'put',
    data: data
  })
}

// 删除心率变异性历史心率
export function delRing_hrv_Info(id) {
  return request({
    url: '/ring/ring_hrv_Info/' + id,
    method: 'delete'
  })
}
